﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="StateAccount.aspx.cs" Inherits="StateAccount" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="../style/Style.css" rel="stylesheet" type="text/css" />
    <link href="./css/axesat.css" rel="stylesheet" type="text/css" />
    <script src="../js/Axesat.js" type="text/javascript"></script>
    
    <link href="../js/shadowbox/shadowbox.css" rel="stylesheet" type="text/css" />        
    <script src="../js/shadowbox/shadowbox.js" type="text/javascript"></script>        
    <script src="../js/Axesat.js" type="text/javascript"></script>    
    
</head>
<body>
    <form id="form1" runat="server">
    <div>
    

        <table cellpadding="0" cellspacing="0"><tr><td>        
        
            <div class="menusupe">
                <ul>
                    <li class="overmenu"><a href="#">Estado de Cuenta</a></li>
                </ul>
            </div>     
                
                </td></tr>
            <tr><td>
          
                &nbsp;</td></tr>
            <tr><td>
          
            <asp:ImageButton ID="btnHistory" runat="server" 
                ImageUrl="../images/lastPayment.jpg" onclick="btnHistory_Click" />
                
            </td></tr>
            <tr><td>
            &nbsp;</td></tr>
        <tr><td>
         <asp:GridView ID="grvFactura" runat="server" AutoGenerateColumns="False" 
           CellPadding="5" Font-Size="11px" ForeColor="#666666" Width="950px" GridLines="None"
            onrowdatabound="grvFactura_RowDataBound">
            <Columns>
                <asp:BoundField DataField="NUMERO_FACTURA" HeaderText="# de Factura" >
                <ItemStyle HorizontalAlign="Center" Width="100px" />
                </asp:BoundField>
                <asp:BoundField DataField="FECHA_FACTURA" HeaderText="Fecha de Factura" 
                    DataFormatString="{0:dd/MM/yyyy}" >
                <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="VALOR_TOTAL_FACTURA" 
                    HeaderText="Valor Total (con impuestos)" DataFormatString="{0:c}" >
                <ItemStyle HorizontalAlign="Right" Width="100px" />
                </asp:BoundField>
                <asp:BoundField DataField="FECHA_VENCIMIENTO" HeaderText="Fecha Vencimiento" 
                    DataFormatString="{0:dd/MM/yyyy}" >
                <ItemStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="SALDO_FACTURA" HeaderText="Saldo" 
                    DataFormatString="{0:c}" >
                <ItemStyle HorizontalAlign="Right" Width="100px" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="Ver Documentos">
                    <ItemTemplate>
                        <table><tr><td><asp:HyperLink ID="hplSupport" runat="server"><img src="../images/view.gif" alt="0" border="0" /></asp:HyperLink></td>
                        <td>  <asp:Label ID="lblDoc" runat="server"></asp:Label></td></tr></table>
                        
 
                      
 
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Ver Factura">
                    <ItemTemplate>
                        <asp:HyperLink ID="hplFactura" runat="server" Target="_blank"><img src="../images/pdf.jpg" alt="0" border="0" /></asp:HyperLink>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Pagar">
                    <ItemTemplate>
                    <asp:HyperLink ID="hplPay" runat="server"><img src="../images/pay.jpg" alt="0" border="0" /></asp:HyperLink>
                       
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
                  <div class="messageEmpty" > No existen facturas asociadas a este usuario.</div>
                 
            </EmptyDataTemplate>
              <HeaderStyle CssClass="headerStyle" />
                <RowStyle CssClass="rowStyle"/>
        </asp:GridView>
        </td></tr>
        
        </table>
        
        
       
    </div>
    </form>
</body>
</html>
